<div class="page_top">
	<div class="page_top_container">
	
		<div class="page_top_content">
			<span class="page_top_title"><?php
			if(is_page()){
				the_title(); 
			}
			if(is_archive() && !is_tag()){
				if(is_month()){
					printf( __( 'Monthly Archives: <span>%s</span>', 'overall' ), get_the_date('F Y') );
			    }
				else if(is_day()){
					printf( __( 'Daily Archives: <span>%s</span>', 'overall' ), get_the_date() );
			    }else if(is_year()){
					printf( __( 'Yearly Archives: <span>%s</span>', 'overall' ), get_the_date('Y') );
			    }else if(is_category()){
					printf( __( 'Category Archives: %s', 'overall' ), '<span>' . single_cat_title( '', false ) . '</span>' );			
				}else{
					if ( have_posts() ){ the_post(); }
					printf( __( 'Author Archives: %s', 'overall' ), "<span class='vcard'>".get_the_author()."</span>" );
				}
			}
			if(is_search()){
				printf( __( 'Search Results for: %s', 'overall' ), '<span>' . get_search_query() . '</span>' );
			}
			if(is_single()){
				the_title(); 
			}
			if(is_tag()){
				printf( __( 'Tag Archives: %s', 'overall' ), '<span>' . single_tag_title( '', false ) . '</span>' );
			}
			?></span><br />
			<?php if(!is_tag() && !is_archive()){?>
			<span class="page_top_desc clearfix"><?php echo get_post_meta($post->ID, "top_title", true); ?></span>
			<?php } ?>
		</div>
		
		<div class="page_top_search">
			<form action="<?php bloginfo('url'); ?>/" id="searchform" method="get">
				<div><input name="s" id="s" type="text" onblur="if ( this.value == '' ) this.value = this.defaultValue" onfocus="if ( this.value == this.defaultValue ) this.value = '';" value="<?php if(!$_GET["s"]) { _e( 'Enter your search keywords...', 'overall' ); } else { echo $_GET["s"]; } ?>" /></div>
			</form>
		</div>


	</div>

</div>